Repository navigation
Conversation
The README claims Linux, macOS and Windows support, but 1de42a6 dropped the Windows job without a stated reason. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Zig 0.16.0's std.Io.Threaded.netConnectIpWindows maps only SUCCESS, CANCELLED and INSUFFICIENT_RESOURCES; STATUS_CONNECTION_REFUSED falls through to error.Unexpected. The test checks that a transport error clears lastError(), whichever error it is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The README lists Windows as a supported platform (
README.md:16), but CI hasn't tested it since 1de42a6 droppedwindows-latestwithout giving a reason. This adds it back.Changes
windows-latestis back in the test matrix. It runs lint, build, unit tests and demos. Live tests stay Linux-only, as they are for macOS.lastError only describes the most recent requestacceptserror.Unexpectedon Windows. Zig 0.16.0'sstd.Io.Threaded.netConnectIpWindowsmaps onlySUCCESS,CANCELLEDandINSUFFICIENT_RESOURCES.STATUS_CONNECTION_REFUSED(0xC0000236) falls through tounexpectedStatus. The test checks that a network error clearslastError(), whatever the error is.Testing
expected error.ConnectionRefused, found error.Unexpected NTSTATUS=0xc0000236(run 46570967830).zig build lintpasses,zig build test46/46.Note for users
With Zig 0.16.0 on Windows, a refused connection, and possibly other socket errors, comes back as
error.Unexpectedinstead of a specific network error. That is a Zig standard library gap, not something serpapi-zig can map.🤖 Generated with Claude Code